package com.lingshu.app.model.auth;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

import com.lingshu.app.BR;

/**
 * @author 于定金
 * @version 1.0
 * @Date 2024/1/5 15:42
 * @Description
 */
public class LoginBean extends BaseObservable {
    private String account;
    private String password;
    private String appCode;
    private int appType;
//
    @Bindable
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
        notifyPropertyChanged(BR.account);
    }

    @Bindable
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
        notifyPropertyChanged(BR.password);
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public int getAppType() {
        return appType;
    }

    public void setAppType(int appType) {
        this.appType = appType;
    }

    public LoginBean(String account, String password) {
        this.account = account;
        this.password = password;
        this.appCode = "LS.Screening";
        this.appType = 1;
    }
}
